using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;

namespace ScreenMonkey.Plugin.Clips.Song
{
    public static class SongLabels
    {
        private static List<string> labels = new List<string>();

        public static event EventHandler LabelAdded;

        public static bool NewLabel(string name)
        {
            if (labels.Contains(name)) return false;

            labels.Add(name);

            if (LabelAdded != null) LabelAdded(null, EventArgs.Empty);

            return true;
        }

        public static List<string> Items
        {
            get 
            { 
                return new List<string>(labels); 
            }
        }
	
	
    }
}
